<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

/**
 * Class UserDevicePreset - 用户设备预设
 *
 * @package App\Models
 */
class UserDevicePreset extends Model
{
    protected $table = 'user_device_presets';

    protected static $unguarded = true;

    protected $casts = [
        'user_id'           => 'int',
        'user_device_id'    => 'int',
        'color_temperature' => 'int',
        'luminance'         => 'int',
        'preset'            => 'json',
    ];
}
